Skip to content

[BDMS-498] Create Weather Photos Admin page#424

Merged
chasetmartin merged 3 commits into
stagingfrom
TAM-BDMS-498
Jan 27, 2026
Merged

[BDMS-498] Create Weather Photos Admin page#424
chasetmartin merged 3 commits into
stagingfrom
TAM-BDMS-498

Conversation

@TylerAdamMartinez

Copy link
Copy Markdown
Contributor

Why

This PR addresses the following problem/context:

  • Use bullet points here

How

Implementation summary - the following was changed/added/removed:

  • Use bullet points here

Notes

Any special considerations, workarounds, or follow-up work to note?

  • Use bullet points here

@TylerAdamMartinez

Copy link
Copy Markdown
Contributor Author
Captura de pantalla 2026-01-23 a la(s) 18 08 45

@jirhiker

Copy link
Copy Markdown
Member

looks good. One minor comment, creating new NMA Weather Photos records should not be allowed, i.e. remove/disable the "New NMA Weather Photos" button. FYI this should be the case for all NMA_ tables; all NMA_ tables should be read-only

@jirhiker jirhiker left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make all NMA_ admin views read-only

@chasetmartin

chasetmartin commented Jan 24, 2026

Copy link
Copy Markdown
Collaborator

@TylerAdamMartinez Here is the pattern to make the view read only

def can_create(self, request: Request) -> bool:
return False
def can_edit(self, request: Request) -> bool:
return False
def can_delete(self, request: Request) -> bool:
return False

@chasetmartin chasetmartin dismissed jirhiker’s stale review January 27, 2026 00:52

requested changes made

@chasetmartin chasetmartin left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@chasetmartin chasetmartin merged commit aa89e88 into staging Jan 27, 2026
6 checks passed
@TylerAdamMartinez TylerAdamMartinez deleted the TAM-BDMS-498 branch February 5, 2026 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants